#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Times;
using Cephei.QL;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! %Coupon paying a fixed interest rate
	/// </summary>
    [Guid ("A27E870D-3C74-4173-80AC-6CE2691F2D52"),ComVisible(true)]
	public interface IFixedRateCoupon : Cephei.QL.Cashflows.ICoupon
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double AccruedAmount(DateTime d);
        /// <summary> 
		/// 
		/// </summary>
		 Double Amount {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Times.IDayCounter DayCounter {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.IInterestRate InterestRate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Rate {get;}
    }   

    /// <summary> 
	/// ! %Coupon paying a fixed interest rate Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IFixedRateCoupon_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IFixedRateCoupon Create (DateTime paymentDate, Double nominal, Cephei.QL.IInterestRate interestRate, DateTime accrualStartDate, DateTime accrualEndDate, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodStart, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodEnd);
        /// <summary> 
		/// 
		/// </summary>
	    IFixedRateCoupon Create (DateTime paymentDate, Double nominal, Double rate, Cephei.QL.Times.IDayCounter dayCounter, DateTime accrualStartDate, DateTime accrualEndDate, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodStart, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodEnd);
    }
}

